import getlink from "@/api/getapi.js"
let VipMianFeiM = {
    state:{
        movies:""
    },
    mutations:{
        UPMIANFEIDATA(state,payload){
            state.movies=payload
        }
    },
    actions:{
        LINK_MIANFEI_DATA(conmovies,payload){
            // console.log(context)
            getlink(payload).then((ok)=>{
                console.log(ok.data.movies,"movies1")
                conmovies.commit("UPMIANFEIDATA",ok.data.movies)
            }).catch((err)=>{
                console.log(err)
            })
        }
    }
}

export default VipMianFeiM;

 
